package com.hqyj.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import com.hqyj.common.util.SearchBean;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 考生成绩表
 * </p>
 *
 * @author j0701-9
 * @since 2021-10-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Result extends SearchBean implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 题目编号
     */
    @TableId(value = "result_id", type = IdType.AUTO)
    private Integer resultId;

    /**
     * 考生Id
     */
    private Integer examineeId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 班级
     */
    private String clazz;

    /**
     * 试卷名
     */
    private String testPaperName;

    /**
     * 分数
     */
    private Integer score;


    @TableField(exist = false)
    private TestPaper testPaper;
}
